package com.lhhu.demo.service.impl;

import com.lhhu.demo.bean.BookCounts;
import com.lhhu.demo.mapper.StatisticMapper;
import com.lhhu.demo.service.StatisticService;
import lombok.Setter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Auther 虎
 * @Data 2021/3/11 19:59
 * @Version 1.0
 */
@Service
public class StatisticServiceImpl implements StatisticService {
    @Autowired
    private StatisticMapper statisticMapper;

    @Override
    public BookCounts getEveryBookCounts() {
        return statisticMapper.getEveryBookCounts();
    }
}
